package com.hzqy.persistence.dao.street;


import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.filter.LoginFilter;
import com.hzqy.web.vo.SysAreaStreetVo;

@Repository
public class AreaStreetDao extends PersistenceDao<SysAreaStreetVo,Integer> {
	private static final Log LOG = LogFactory.getLog(LoginFilter.class);

	public List<SysAreaStreetVo> selectAreaStreet(SysAreaStreetVo sysAreaStreetVo) {
		return getSqlSession().selectList(this.getNamespace()+"selectAreaStreet",sysAreaStreetVo);
	}
	
	public SysAreaStreetVo selectById (int	f_sas_id) {
		return getSqlSession().selectOne(this.getNamespace()+"selectById", f_sas_id);
	}
	
	public SysAreaStreetVo selectByName(SysAreaStreetVo sysAreaStreetVo) {
		return getSqlSession().selectOne(this.getNamespace()+"selectByName", sysAreaStreetVo);
	}

}
